added flags to config.