Tidied up install script.