beforeMacroReplications

Allows insertion of code before the macro replication loop