in reply to Go to?

There is a framework for doing exactly what you ask for (skip previously finished steps): Commands::Guarded.

It may not be suitable for your first version of the converted script, but maybe for further development.

/J