Stripping tags before replacing

Add stripping to tags branch.