Add and populate config flags.