Tweaks to make sqlite db conf work