Added build_orfs option and moved dist plotting code into here.