change host to enviroment variable