Update mac

Update mac script based on latest changes.