change the way to import pipeline