Cleaned up parsing code and url now combines style sheets