switch to curl for downloads