Small reporting tweaks
Enable sqlite database opening in writer