Add some logging and version checking