var videoBin = new MediaBin("Video");
Vegas.Project.MediaPool.RootMediaBin.Add(videoBin);
videoBin.Add(new MediaBin("New"));
videoBin.Add(new MediaBin("Old"));
var audioBin = new MediaBin("Audio");
Vegas.Project.MediaPool.RootMediaBin.Add(audioBin);
Just a thought...
but If the script has to read like that, it would be nice if the new version of vegas allowed the scripts to say either sony or sonic foundry so that we could keep using all the old ones without having to go back and change them all (if it will be possible).