Before using Scripting Toolkit procedures to perform deployments, use the hwdetect utility to determine if the combined process is being executed on hardware supported by the Scripting Toolkit.
You can then add appropriate branches in the batch files to use either the existing process or the Scripting Toolkit process.
hwdetect.exe /s if errorlevel 1 goto NONLenovo if errorlevel 0 goto Lenovo :NONLenovo rem Perform non-Lenovo equipment specific processing here. :Lenovo rem Perform Lenovo eServer or xSeries equipment specific processing here.