auto replace the extension label in application.xml file