Added code to produce various reports