well, i guess waldo's script does it for you already
my build could help though when you need to write a smaller script (also it should be like 50 ms faster each time random is executed, to the least), also i guess it is "more random", as it uses the tickcount as seed.
looking forward to seeing your video, looks very promising. i also might add that i quite like your music