load main config with mode on