Added db generation script