Add default_flags to config
Fix default settings