added some comments to spagedi_workflow