Refactored plugin redating code.
Refactored old report reading code.