Add version information querying and logging