changed errors to print to error log, added clearBatchUploadSummary