Move config flags into config file.