Drop copy of main_template.pt; Fix to look up main_template.pt from its original location