update task.py and shell.py