minor revisions, output to new output folder