add -debug and -streak_counts flags