installation script and fixes