Work on getting replace text to work properly.