Add dependencies checking