public static void Main(string[] args)
        {
            int auto = 0;

            try
            {
                string ipAddress;

                if (args.Length < 1)
                {
                    Help();
                    Environment.Exit(0);
                }

                if (args[0] == "wol")
                {
                    var command = new WakeOnLanCommand();
                    command.Execute(new[] { args[1] });
                    return;
                }

                if (args[args.Length - 1] == "/a")
                {
                    ipAddress = Environment.GetEnvironmentVariable("MOUNT", EnvironmentVariableTarget.User);
                    if (ipAddress == null)
                    {
                        Console.WriteLine(
                            "?Cannot retrieve IP address of mount. Try saving it with the save command first.");
                        return;
                    }
                    auto = 1;
                }
                else
                {
                    ipAddress = args[0];
                }

                _commandSender = new CommandSender(ipAddress);
                _commandSender.OpenConnection();

                string commandString = args[1 - auto].Trim().ToLower();

                var result = ExecuteCommand(args, commandString, auto);
                Console.WriteLine(result);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }