Switch to curl from wget