Added db generate script
new changes