Update mac script