fix this script

@echo off
setlocal EnableDelayedExpansion

:input
set /p "i=Enter the number of words to generate: "
echo !i!|findstr /r "[^0-9]" >nul && (
  echo Invalid input. Please enter a number.
  goto input
)

:input2
set /p "Use dutch de_8k wordlist? y/n"
if /i "%i%"=="y" (
  diceware -c -d _ -s 3 -n %i%
) ELSE (
  diceware -c -d _ -s 3 -n %i% -w de_8k
)