Fix issue with version not being passed appropriately.