added --rev to --all_fold/delphi