changed the DB script