Added some stuff to check the version