beefing up the install.sh script