Update install.sh

basedir variable added