check-install script