take both built-in and user defined priors from code/priors
changed theta priors from list to dict