add support for mac