Macro for creating cfg page creators