changing url to be a url, cleaned up console output