giving up on reportFunctions for now.  moving queries to the indiv. reporting script