added environment variable to mocha script