Added an output folder.
Fixed the generator.