SN-6 Added outputDirectory