webserver startup simplfied and fixed