What's wrong with this script?


@echo off

REM ===========================
REM Configuration
REM ===========================

REM Destination directory where processed files will be saved
set "DEST_DIR=D:\Video\MKVConvert"

REM Path to the mkvmerge executable
set "MKVMERGE=C:\Program Files\MKVToolNix\mkvmerge.exe"

REM ===========================
REM Setup
REM ===========================

REM Create destination directory if it does not already exist
if not exist "%DEST_DIR%" (
    echo Creating destination directory: "%DEST_DIR%"
    mkdir "%DEST_DIR%"
    if errorlevel 1 (
        echo Error: Failed to create destination directory.
        echo Please check permissions or the path and try again.
        echo.
        pause
    )
) else (
    REM Suppress success message by doing nothing
    REM echo Destination directory exists: "%DEST_DIR%"
)

REM Check if mkvmerge exists
if not exist "%MKVMERGE%" (
    echo Error: mkvmerge executable not found at "%MKVMERGE%".
    echo Please verify the path to mkvmerge.exe.
    echo.
    pause
) else (
    REM Suppress success message by doing nothing
    REM echo Found mkvmerge executable at "%MKVMERGE%".
)

REM ===========================
REM Processing
REM ===========================

REM Loop through each MKV file in the current directory
for %%a in (*.mkv) do (
    REM Check if the output file already exists
    if exist "%DEST_DIR%\%%~na.mkv" (
        echo Warning: Output file "%DEST_DIR%\%%~na.mkv" already exists. Skipping...
    ) else (
        REM Display a message indicating processing
        echo Processing: "%%~nxa"

        REM Execute mkvmerge to process the file
        "%MKVMERGE%" ^
            --ui-language en ^
            --priority highest ^
            --video-tracks 0 ^
            --audio-tracks 1 ^
            --no-subtitles ^
            --no-attachments ^
            --no-global-tags ^
            --no-track-tags ^
            --no-chapters ^
            --language 0:en ^
            --track-name 0: ^
            --default-track-flag 0:yes ^
            --language 1:en ^
            --track-name 1: ^
            --title "" ^
            --track-order 0:0,0:1 ^
            --output "%DEST_DIR%\%%~nxa" ^
            "%%~fa"

        REM Check if the processing was successful
        if errorlevel 1 (
            echo Error: Failed to process "%%~nxa". Please check the input file and try again.
        ) else (
            echo Successfully processed "%%~nxa" and saved as "%DEST_DIR%\%%~na.mkv"
        )
    )
)

REM ===========================
REM Completion Message
REM ===========================

REM Display a completion message for processing
echo.
echo All MKV files have been processed and saved in %DEST_DIR%.

REM Pause the script to allow the user to see the output
pause



It says this when ran:

Processing: "The Cleveland Show (2009) - S02E02 - Cleveland Live.mkv"
mkvmerge v86.0 ('Winter') 64-bit
'D:\Video\The Cleveland Show (2009) - S02E02 - Cleveland Live.mkv': Using the demultiplexer for the format 'Matroska'.
'D:\Video\The Cleveland Show (2009) - S02E02 - Cleveland Live.mkv' track 0: Using the output module for the format 'HEVC/H.265'.
'D:\Video\The Cleveland Show (2009) - S02E02 - Cleveland Live.mkv' track 1: Using the output module for the format 'AAC'.
The file 'D:\Video\MKVConvert\The Cleveland Show (2009) - S02E02 - Cleveland Live.mkv' has been opened for writing.
Multiplexing took 0 seconds.
Successfully processed "The Cleveland Show (2009) - S02E02 - Cleveland Live.mkv" and saved as "D:\Video\MKVConvert\The Cleveland Show (2009) - S02E02 - Cleveland Live.mkv"
Processing: "The Cleveland Show (2009) - S02E09 - Beer Walk.mkv"
mkvmerge v86.0 ('Winter') 64-bit
'D:\Video\The Cleveland Show (2009) - S02E09 - Beer Walk.mkv': Using the demultiplexer for the format 'Matroska'.
'D:\Video\The Cleveland Show (2009) - S02E09 - Beer Walk.mkv' track 0: Using the output module for the format 'HEVC/H.265'.
'D:\Video\The Cleveland Show (2009) - S02E09 - Beer Walk.mkv' track 1: Using the output module for the format 'AAC'.
The file 'D:\Video\MKVConvert\The Cleveland Show (2009) - S02E09 - Beer Walk.mkv' has been opened for writing.
Multiplexing took 0 seconds.
Successfully processed "The Cleveland Show (2009) - S02E09 - Beer Walk.mkv" and saved as "D:\Video\MKVConvert\The Cleveland Show (2009) - S02E09 - Beer Walk.mkv"
Processing: "The Cleveland Show (2009) - S03E02 - The Hurricane.mkv"
mkvmerge v86.0 ('Winter') 64-bit
'D:\Video\The Cleveland Show (2009) - S03E02 - The Hurricane.mkv': Using the demultiplexer for the format 'Matroska'.
'D:\Video\The Cleveland Show (2009) - S03E02 - The Hurricane.mkv' track 0: Using the output module for the format 'HEVC/H.265'.
'D:\Video\The Cleveland Show (2009) - S03E02 - The Hurricane.mkv' track 1: Using the output module for the format 'AAC'.
The file 'D:\Video\MKVConvert\The Cleveland Show (2009) - S03E02 - The Hurricane.mkv' has been opened for writing.
Multiplexing took 0 seconds.
Successfully processed "The Cleveland Show (2009) - S03E02 - The Hurricane.mkv" and saved as "D:\Video\MKVConvert\The Cleveland Show (2009) - S03E02 - The Hurricane.mkv"
Processing: "The Cleveland Show (2009) - S03E16 - Frapp Attack.mkv"
mkvmerge v86.0 ('Winter') 64-bit
'D:\Video\The Cleveland Show (2009) - S03E16 - Frapp Attack.mkv': Using the demultiplexer for the format 'Matroska'.
'D:\Video\The Cleveland Show (2009) - S03E16 - Frapp Attack.mkv' track 0: Using the output module for the format 'HEVC/H.265'.
'D:\Video\The Cleveland Show (2009) - S03E16 - Frapp Attack.mkv' track 1: Using the output module for the format 'AAC'.
The file 'D:\Video\MKVConvert\The Cleveland Show (2009) - S03E16 - Frapp Attack.mkv' has been opened for writing.
Multiplexing took 0 seconds.
Successfully processed "The Cleveland Show (2009) - S03E16 - Frapp Attack.mkv" and saved as "D:\Video\MKVConvert\The Cleveland Show (2009) - S03E16 - Frapp Attack.mkv"
Processing: "The Cleveland Show (2009) - S04E12 - Pins, Spins and Fins.mkv"
mkvmerge v86.0 ('Winter') 64-bit
'D:\Video\The Cleveland Show (2009) - S04E12 - Pins, Spins and Fins.mkv': Using the demultiplexer for the format 'Matroska'.
'D:\Video\The Cleveland Show (2009) - S04E12 - Pins, Spins and Fins.mkv' track 0: Using the output module for the format 'HEVC/H.265'.
'D:\Video\The Cleveland Show (2009) - S04E12 - Pins, Spins and Fins.mkv' track 1: Using the output module for the format 'AAC'.
The file 'D:\Video\MKVConvert\The Cleveland Show (2009) - S04E12 - Pins, Spins and Fins.mkv' has been opened for writing.
Multiplexing took 0 seconds.
Successfully processed "The Cleveland Show (2009) - S04E12 - Pins, Spins and Fins.mkv" and saved as "D:\Video\MKVConvert\The Cleveland Show (2009) - S04E12 - Pins, Spins and Fins.mkv"
Processing: "The Cleveland Show (2009) - S04E23 - Wheel Of Family.mkv"
mkvmerge v86.0 ('Winter') 64-bit
'D:\Video\The Cleveland Show (2009) - S04E23 - Wheel Of Family.mkv': Using the demultiplexer for the format 'Matroska'.
'D:\Video\The Cleveland Show (2009) - S04E23 - Wheel Of Family.mkv' track 0: Using the output module for the format 'HEVC/H.265'.
'D:\Video\The Cleveland Show (2009) - S04E23 - Wheel Of Family.mkv' track 1: Using the output module for the format 'AAC'.
The file 'D:\Video\MKVConvert\The Cleveland Show (2009) - S04E23 - Wheel Of Family.mkv' has been opened for writing.
Multiplexing took 0 seconds.
Successfully processed "The Cleveland Show (2009) - S04E23 - Wheel Of Family.mkv" and saved as "D:\Video\MKVConvert\The Cleveland Show (2009) - S04E23 - Wheel Of Family.mkv"

All MKV files have been processed and saved in D:\Video\MKVConvert.
Press any key to continue . . .