finalized bsexaml pipeline