updated wget to curl