calling server from config
removed debugging alerts