Updates to 2013 data compatability
Added CMS, updating PR calcualtion SQL