anchor.diff:  
   prepare_action(State) ->
       #state{service_id = ServiceId,
  -           user_info = UserInfo,
  -           action = Action
  +           user_info = UserInfo
             } = State,
       {ok, ServiceInfo} = tts_service:get_info(ServiceId),
       Connection = connect_to_service(ServiceInfo),
  -    {ok, CmdMod} = get_cmd_module(Action, ServiceInfo),
  -    create_command_list_and_update_state(CmdMod, UserInfo, ServiceInfo,
  +    {ok, Cmd} = get_cmd(ServiceInfo),
  +    create_command_list_and_update_state(Cmd, UserInfo, ServiceInfo,
                                            Connection, State).
   
   
  
positive.code:                                      params => Params,
                                       cred_state => CredState
                                      })),
      Cmd = << Script/binary, EncodedJson/binary >>,
      CmdList = [Cmd],
      {ok, State#state{cmd_list=CmdList,
                       connection = Connection, con_type = ConType}};
  create_command_list_and_update_state(_Mod, _Info, #{con_type := ConType},
  
negative.code: connect_to_service( _ )  ->
      throw(unknown_con_type).
  
  get_cmd(#{cmd := Cmd}) ->
      {ok, Cmd};
  get_cmd(_) ->
      {error, unknown_cmd_mod}.
  
  
  