convert modlist to md