This is an easy to fix error, and I've made a non-intrusive patch for it (it's a self contained plugin).
I think there is an item about this in the FAQ threads, if not, then you have to dig through some of the older posts of Scripting (one of my posts about Advanced Technologies Pack).