Added stylesheet parser and injection code