Shown and executed Script File is not the same

I got it working by removing the old script file from the urp file-source code.
There were two versions of the script file included. This could be the root of the problem.