added command line websockets check