added mac install method