Updated install script for package checking