change the url to $hostname in the report