Added database generation script