This could be a timesaver if you start off your script with a temporary character name just to get the ball rolling, but later decide on a more appropriate name.
An “are you sure you want to replace all the names in the script?” dialogue box would prevent any accidents.