Add script for database gen