Reordered script