Fixed the reinstall script.