install script worked on clean EC2 instance. Tidied up comments