Externalise the pipeline