     where_sql_snippet: build_where_snippet sql
     outfile_path: path
     limit: list_item_limit
+    fn_vals: fn_vals
 
   query_fn = require fn_vals.script_filename
   

    name: "all"
    values: ["all"]
  }
  # {
  #   name: "player"
  #   sql: "GET_PLAYER_NAME(p.playerid,'','') = '?'"
  #   values: ["Dan", "Tom", "JD", "Jeran", "Guest", "Spirk"]
  # }
  # {
  #   name: "year"
  #   sql: "YEAR(t.matchdate) = ?"
  #   values: [2004,2007,2008,2009,2010,2011,2012]
  # }
  # {
  #   name: "location"
  #   sql: "GET_LOCATION_NAME(t.location, 'ADDY') = '?'"
  #   values: [
  #     "1217 (Pomona, CA)"
  #     "23C (Pomona, CA)"
  #     "Mt. Johnson (Rancho Cucamonga, CA)"
  #     "425 (Upland, CA)"
  #     "207E (Encino, CA)"
  #     "14211 (Sherman Oaks, CA)"
  #   ]
  # }
]



    name: "all"
    values: ["all"]
  }
  {
    name: "month"
    sql: "MONTHNAME(t.matchdate) = '?'"
    values: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
  }
  # {
  #   name: "dom"
  #   sql: "DAYOFMONTH(t.matchdate) = ?"
  #   values: []
  # }
  {
    name: "dow"
    sql: "DAYNAME(t.matchdate) = '?'"
    values: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
  }
]

# dom = 1
# while dom <= 31
#   minors[2].values.push dom
#   dom += 1

scripts = ["performance"] # ["summary", "performance", "time-span", "match-span", "match-streak"]
