working on Websocket Script