split-template.pl updated for split of targeting template