added priority to the template_section