Added support for running the install.sh script via a pipe (from wget/curl).