Updated Patch file with use of Curl.