Fixed backwards db directory declaration