Added function to generate reports given a specific date