added --rev to --all_fold option in utils.py