Added split.proc and changed scripts that called it