Modifying pilot cms to pull directly from the database
Modified dump_results so that one can optionally specify an ouput file