Add logEvent and various options