allow hostnames to be passed on commandline
don't fail when outfile is missing