Update examples to use ready_structure instead of ready_defect