Macro needs to be at top of file.