Added config loading.