improving stylesheet automatic inclusion