changes to make the app run also on a webserver