#1287 and #1575 - added weekly report generation