Adding websocket script