typo in mac script