Create generator to upgrade from previous versions