now can run arbitrary python as well as shell