Make save intervals configurable.
Signed-off-by: Chris Sanders <zidane@outlook.com>