Some Improvements to generare DDL Schema on the fly