reorder of scripts