More attempts to fix the perms plugin