Removed dependency on curl