* pagetemplate hooks are now also called when generating cgi pages.