add load-config parameter to load flex-config.xml setting.