Script to iterate over I