Add download_curl method