Added comments to install script and made it more portable