Straight-ahead, top-to-bottom logic will provide more value over a longer lifetime with the least effort based on modular and asynchronous features in the modern environment.
# Prepare
A script begins by collecting resources and validating their suitability for subsequent processing. An interactive operator will expect immediate confirmation otherwise setup diagnosis precludes other attentions.
# Perform
Computation may engage interactive resources that pace progress. Tens of seconds are acceptable when appreciably faster than other alternatives. The interactive environment may be adjusted for a better view.
# Persist
Work product and setup become available for saving and sharing outside of the script environment.