sending discussion email to GM
made db_ops file more generic