added mocha hook script