add parameters in script + save intermediate files in output dir