Added type for a script in the template.