automatically create database on first run