update perms on publish script