add support for mac applications