input host from command line as well