Made the pipeline auto-generating
Made the pipeline generic