made report_max_objects configurable