Just to say when I added this script to the library and I tried to open a Cubase 14 Pro project with a V2 instance inside I got an error about an unexpected character in the script, and I had to abandon Cubase through task manager.
Removed the script and tried again and everything loaded up perfectly.
I’ll experiment more with this as it looks to be a fine script.