Added support for external stylesheets