Rewrote command line flags.