added plugin for Moodle 2.x