Added siteid and sitecourseid to bonus point logic and table