anchor.diff:              {stop, normal, NewState}
       end;
   handle_cast(perform_action, State) ->
  -    {ok, NewState} = prepare_action(State),
  -    trigger_next_command(),
  +    {ok, NewState} = execute_command(State),
       {noreply, NewState};
  -handle_cast(execute_cmd, State) ->
  -    execute_single_command_or_exit(State);
  +handle_cast(send_result, State) ->
  +    send_result(State);
   handle_cast(stop, State) ->
       {stop, normal, State};
   handle_cast(_Msg, State) ->
  
positive.code:     {ok, ConnInfo} = get_connection_info(ServiceInfo),
      {ok, Cmd} = get_cmd(ServiceInfo),
      Connection = connect_to_service(ConnInfo),
      create_command_list_and_update_state(Cmd, UserInfo, ServiceInfo,
                                           Connection, State).
  
  
  
negative.code:     CmdLine = << Cmd/binary, <<" ">>/binary, EncodedJson/binary >>,
      lager:debug("runner ~p: the command line is (parameter in base64url): ~p",
                  [self(), CmdLine]),
      {ok, State#state{cmd_line=CmdLine,
                       connection = Connection, con_type = ConnType}}.
  
  add_user_info_if_present(ScriptParam, undefined, _) ->
  