a few new scripts, all2many and trim_rep_region from other ppl