added plugin for Moodle2.x