So you can't even code...
Forgot two stupid comas...
s/outdir/output/g ... ffs