Separating out pipes from process hook