preserve context when importing discopane macros