Fix ota script