added support for Mac + default per OS defined