added npm install to template script