The lesson for me here is to actually have scripts written where the business logic is clear to see and change.
This is a workflow in a python script but could also be a tool just by adding argument parsing. But also tools can be called from software pipelines and have tools to execute this for us (automation).
Look at https://aosabook.org/en/500L/a-continuous-integration-system...