Replaced the Curl wrapper with guzzle