Adding support for $version check