python tool overhaul