Fix arg problem (change the way curl is calling the script)