added reportsuccess and reportwarning config options.