I forgot to mention, I've tested the curl side which basically almost hold the same process as the GRIP module, and as well i forgot to mention, that you can abandoned the relayment on using a php file and add the content of the file to the plugin which let stuff more easier among installation