updated python tool (osx)