Do some moodle stuff