run function

Run the pipeline