Check dependancies