Allow input of output directory name

This adds the ability to specify the output directory when running the processor.