changed path to db to work with windows too