Modify install.sh to make it able to be sourced from another script.