Added a check for previous installation in the install.sh script