checked the script working great with 28 pairs, although the script for template isn't working ,template index cant read the templates and renaming the main template to 0 doesn't help either