Replace extension