Add system property that indicates whether the configuration should be persisted or not

Add system property that indicates whether the configuration should be persisted or not.