Recommended is that scripts are always structured in the same way to enhance readability and facilitate troubleshooting.
In this chapter a structuring method is described.