support taking the hostname on the command line