Replacing chunks of code with Macro-generated code?