Added progress saving.