Added configurable save intervals.