       # row outfile
       outFile = opts.outfile_path + "/" + report.file + ".tex"
       fs.writeFileSync outFile, tableText, "utf8"
-      process.stdout.write "."+      process.stdout.write "."
+      report_cb err
+  , (reports_err) ->
+    process.stdout.write ","
+    cb reports_err

    fullQuery = [select, from, where, orderBy, limit].join " "
    
    query = new Query 
      body: fullQuery
    
    query.run (err, rows) ->
      
      formattedRows = applyColumnTemplates rows, activeColumns
      # ties logic, # records, second order calculations
      
      tableText = toLatexTable

  where = "WHERE t.matchid = p.matchid"
  limit = "LIMIT #{opts.limit}"
  

  async.forEachSeries reports, (report, report_cb) ->
    
    for cond in report.conditions
      where += " AND #{cond}"
