set global config