Fix our api script.