create resetRolePerms.sh script to restore all instances