A lot of tweaking to get the reports working properly.