Updated version of installation script.