Make analysis persistence configurable