add cw and db_snapshot
Add db options