If a config file is found in the standard locations, it will be loaded and
    the config data would be retuned. If not found, then generate the data on
    the fly, and return it

def generate_configurations(*, guided=False, fresh_start=False, save=False):
    """
    If a config file is found in the standard locations, it will be loaded and
    the config data would be retuned. If not found, then generate the data on
    the fly, and return it
    """

    if fresh_start:
        purge_configs()

    loaded_status, loaded_data = get_config()
    if loaded_status != CONFIG_VALID:
        if save:
            make_config_file(guided=guided)
            status, config_data = get_config()
        else:
            config_data = make_config_data(guided=guided)
    else:
        config_data = loaded_data

    return config_data