revision iterator script improvements