Add scripts to template