Hi Dave
I thought I had better check out the script as I hadn't used it for about a year and wrote it for my own use (You don't have to worry about such niceties as testing:) ). I found a bug with blocks with no named sensor (all mine had named sensors) I have uploaded a fixed version. You should use that.
If you find any more then give me a shout
John