add follow-location option to curl command