check env var for db path