script to run daily stats, send email report