more changes to the install script.
tidied up.