updates to python shell