Replace with remote macros