add startup and shutdown shell