I struggled for awhile last night getting this to work in my system. I thought I'd pass along my notes just in case anybody else is encountering the same issues.
In the script I had to change:
-e PUID=99 \
to
-e PUID=100 \
I'll admit I have no idea if that's a good/bad idea.
I also had to change:
-v /mnt/user/timmyx/Settings/youtube-dl/ytdl.conf:/etc/youtube-dl.conf:ro \
to
-v /mnt/user/timmyx/Settings/youtube-dl/ytdl.conf:/etc/yt-dlp.conf:ro \
Which seems to be an issue.
In the end, I believe those were the only two changes that were needed to make it work for me.