added checks for installed dependencies