fixed new output dir arg