variable replication for similar/batched macros using get_macro nad requiring a common pool of vars