script reorder