Added CURLOPT_FOLLOWLOCATION as curl opt