Moved form file_get_contents to cURL for pulling code from Github and added the User Agent header to allow it through