added global flag for mocha install