Change wget calls to curl