Well, I'm not sure I see the point of doing the WMI query outside the script?
I was thinking something along those lines: (don't mind the language, I've never worked with vbs, this is a general algorithm)
model=wmi.query("SELECT version FROM Win32_ComputerSystemProduct")
if (model like "ThinkPad T510") then
mdt.ApplyDriverPackage("T510")
elseif (model like "ThinkPad T520") then
mdt.ApplyDriverPackage("T520")
endif