Added db existance test
played with settings