optimise the reset perms script