Rename files with MODIFIED Date & Time Appended with letter if Duplicates

I have a ton of JPG files.

I am running Directory Opus 13 and I am trying to be able to select files within a directory and change them to look like this..

modified date _ modiffied time.jpg
20260126_013055.jpg
and if there are duplicates..
20260126_013055a.jpg
20260126_013055b.jpg

etc.

I seem to come close but it isn't working.

Naming clashing files a, b, c, etc. instead of (1), (2), (3), etc. can be done but means using a script to generate that part of the name.

The rename script can use FSUtil.Exists to check if the item exists or not.

Only small drawback will be that the previews won't always be accurate, since the clashing files may not exist yet if they're the result of other files in the same batch being renamed. But that only affects the preview, not the actual result.