Updated the cURL script