Moved stylesheet to XML file; updated to work with 1.8