add configfile option, and args.host can be a list now