Hi, I've edited out 'beep', but it still doesn't work. Oh well, I'll take a look for something more up to date; thanks for your advice!
I took a quick look at the rest of the code in that script and it's certainly antiquated. There is a lot of camera specific stuff in there that won't work for newer cameras, and things that can now be done much more simply. Quite frankly, it's probably not worth trying to update that script.
What were you hoping it would do for you? Perhaps we can point you to something more suitable.
Edit : the script cycles through a range of f-stops, shutter speeds, ISO setting, and white balance settings. I think the idea is to take a lot of picture and have the user pick the best one. From the exif info in that picture the user then knows the "best" settings for his environment.