@ecurtin @marcan the general idiom I’ve seen is to have the script consist of only function definitions, followed by a call to main