outdir is a commandline option