import macros with context (access to env and conf)