added cmd.php for websockets