getting config values and setting globally.