More robust database handling when reinstalling
Merge pull request #1 from nickschuch/boztek-db

More robust database handling when reinstalling