Added addinstance for Moodle 2.4