Updated method for checking installation.