add installation check.