You are right about the "H" thing, the &80000 values are resolved ok to Hex values. Thanks for that

The script now works without errors, however it doesn't set the permissions still :/