Changed variable name (log file constant)
Changed auto_quit semantics: it now quits after sending the first report