added npm install function