changing extension to md