Recombined file and class template installation in install_templates.sh using sudo