fix LocalInstall script

fix LocalInstall script