put hostname into a var