Fig. 3. A part in the template file indexgen.tmpl that generates the web script given in Fig. 6 according to the configuration file shown in Fig. 5. This part handles the processing of each factor in the worksheet.