Fixed minor bug in the cURL flags