added 'hostname' variable for sshnokey because it needs it to function correctly