modified hostname to pull in hostname instead of fqdn