Corrected curl command to execute script