attempting to work around version detection limiations while staying within a single check file