add acceptance and publishing dates and number of days between the two in QC query; modify run script to include QC report and improve date handling