modify python tools