change ext to md