Create install.sh

improved install.sh, automatically add some environment variables.