Add some versioning code