Integrate the whole pipeline