anchor.diff:          _ -> ensure_files_access(State)
       end,
   
  -    ExistingAccount = case read_keys(KeysDir) of
  +    AccountExists = case read_keys(KeysDir) of
           {ok, _, _} ->
               ?info("Let's Encrypt ~s run: reusing account from \"~s\"", [CurrentMode, filename:absname(KeysDir)]),
               true;
  
positive.code: %% Returns run mode, depending on application settings.
  %% @end
  %%--------------------------------------------------------------------
  -spec get_run_mode() -> run_mode().
  get_run_mode() ->
      ModeEnv = onepanel_env:get(letsencrypt_mode, ?APP_NAME, full),
      case {ModeEnv, ?STAGING_DIRECTORY_URL} of
          {production, _} -> production;
  
negative.code: %%--------------------------------------------------------------------
  -spec run_certification_flow(Domain :: binary(), Plugin :: module()) -> ok | no_return().
  run_certification_flow(Domain, Plugin) ->
      run_certification_flow(Domain, Plugin, resolve_run_mode()).
  
  
  %%--------------------------------------------------------------------
  