updated mocha script to use supervisor