Changed calls to CURL