Adding some checks to install.sh