Fixed AUTO_CACHE_DATABASE not writing to generator hox.