tidied up install.sh a little