Adding back the vsmdi, which I accidently removed