Updated the database script files