Made some changes so that you could cancel part of the pipeline