move outputDir to property