let the user pass in a hostname, otherwise use the os's hostname