feat(outdir) added support for output directory option