Added database generating script