added host parameter for command line