plugged in choice of prior options to cpu version main code