Adding steps 3 and 4 for the pipelines.