Add saveEvents configuration option