updated configuration loading.