restored modencode config