Modif CmdSender method (runtime) + Add getResCommand