Well, it works with the website code.
Cut back on the printing, and start the function for a smarter TEI AO->MO transformation.