version detection was in a function that wasn't called, damnit