change wget to http.get