run the mocha hook script directly