moved particle_stats_by_date table prep to flow listener