Added an argument 'delay' to GetReportData() allowing the user to specify a time delay (in secs) between successive queries