Can you explain this bit? Closing the DB if it needs a version change? What happens then?