added switch webservers function