replace wget with curl.