Remove unnecessary things in the config, just use the flags