Updated check_name in migration script