Reworked Pilot Practical Template method for checking referenced templates
Fixed merge conflict