Added archiving of daily records