script perms