Custom Reports for Moodle 1.9.x