Bettor logging at end of scripts