add support for app events and settings