change wget to curl