changes to web server code