add theme scripts to template