add the shell and python code