Improved repeatcmd and added instructions how to use the iteration counter for the repeated command.