fix urls to load from file as well as webserver