finishing up refactor that restructures comparison groups to be more congruent, also figured out how to pipe copy commands to psql