Script to quickly turn websockets on and off