Change from using $hostname to using $fqdn to ensure uniqueness