added global flag for npm