added command-line configurable cuts and outputdir