Update mac

Updating mac script with latest changes.