mac install script and config