add mac and iOS scripts