Added structure_reorder_end hook