pass the hostname via command line arg