Added periodic archiving of stats to BigQuery