The execroot version should work just the same. If it doesn't, there's probably a bug in the script. I'll double check this when I have time and modify accordingly. Nothing wrong with using Schturman's version, perhaps it's even clearer.