complete pipeline to share pi-s; see header in file pipeline.R for a example of how to run the pipeline