adding macros for config