setallperms script