added the database script