replace code for creating output folder with
Examples.createOutputFolder()