Probably it would be indeed better to put this into the DashboardReport class. Also we might want to check for the HTTP protocol and only do changes in such a case. Otherwise an URL like ´--report=file://report.json´ will not work anymore.