Replaced call to wget with curl.