Inserted HistoryDays configuration parameter. Some style to database subroutines.
Changed the way the email is sent. Changed the configuration parameters and now the &publish() subroutine takes an argument, the path to the report, to ensure the correct report is being sent. The name of the owner is now displayed in the report.