added global flag to npm install