Here are the functional phases of a webgen compiler run:
This script is responsible for site-specific configuration and utilities.
This script is responsible for defining the majority of the utility functions used by the templates.
The good news is we don't care about field order in the file.
This phase calls the indicated index templates to generate the indicies and meta indicies.