Python scripts that loop through postgres SQL queries for engagement metrics.