only when config is None fallback to conf_from_env