Merge users script for Moodle 2.x