added init script for the websocket stuff