script to create the database, not tested