perm scripts