reorder params in pipeline script