add global config and more