Update shell.cpp