updated for configurable report plotting