Added script tags to template