Added siteid and sitecourseid fields to link different versions of same course for stats purposes