Converted version system to use generation instead of VERSION.txt