updated msv script