This script looks impressive -- wish it had been available a couple of years ago, especially as with cryptomatte it’s now not necessary to use RGB mattes anywhere near as much. But still, looks pretty great:
did you get it to work? Not sure what command is to get it working
No, I haven’t downloaded it yet -- but will let you know if I get it working.