Revised pipeline scripts