My question was "How do I replace a folder-level script?" and your answer was to "Replace the folder-level script and re-start Acrobat".
I have tried to replace the folder-level script and it keeps executing the previous version. I also tried executing the script from the Console and I get the "redeclaration of const" error.
Then you asked me if "Did the 2nd row exists?" The answer is yes, and I inserted a screen shot of the script.