fixing munge key generation and host file template