Added the ability to use Curl as well.