python script to trigger report generation for previous month