Let me check today if I get chance. The original work I did was outside this function and worked using the same method (and disgusting here-string!); I'm thinking I didn't remove the privilege before going back and testing this so it looked like it worked but hadn't done anything.