barebones qc pipeline working
some old changes ported from master