script to initialize the database