use outputDirectory