Updated mocha script