Added import of megamod for eval in configf