support for overriding persistence dirs