added npm to begin.sh