Add support for jail and custom shell in the WebShell