use new outputDir option