move myhostname definition to vars
move myhostname definition to vars