Figure 2

Figure 2: A clear-cut structure of the script facilitates troubleshooting.