Switched wget to curl.