Add some checks to help installatio