Move flags to config file

[#82968904]