Renaming function get_config_or_default to get_or_generate_config