Improved the greeks by category report generation code