Added a optional install check