Adding reinstall mode