Added fixPermissions capability