add debug statements to install.sh