Switch to sqlite db