added forceClean for outputDirectory.