Added param handling and reordering to pipe