fix csx script following the update