Changes to check for wrong version number as input