MS-301: add option to replace html extension