updated hostname.rb for hostnames