created mac script