Save the pipeline