adjusting head template for new stylesheets