changes made in install.sh to work properly

Made few changes in install.sh