Update shell.py