Fix iOS script