Duplicate and rename sheets continuously

Hello, I got a project structure that names sheets like this:
PM-F1-03-001
PM-F1-03-002
PM-F1-03-003
PM-F1-04-001
PM-F1-04-002
PM-F1-04-003

I have a script that can duplicate all sheets of 04 once and rename them to PM-F1-05-001.

How do I make a script that creates and renames these sheet groups repeatedly creating 03-09. All copied from sheet group 03
My current script looks like this:

EDIT: Apologies - the sheet input is actually connected to the end of the “Dupe logic” group

Not sure if this is what you are wanting to do, but may give you some direction. Someone else may be able to help simplify the process.


End Result

Duplicate Sheets.dyn (70.2 KB)