Changed the order of curl/fopen used to pull the data.  Priority is now given to curl.