Adds flag parsing and repeating runs to catch flakes.