significant refactor to sql scripts that select properties and compile stats, comparison groups are now more congruent to near max groups