add web_sever var to other functions