update perms on script