Added global install.sh script

Also updated install scripts so that they work when executed from a
different directory.