move hostname to UNIX progs