Added support for specifying a target version to the extractor