added code which replaces address fields values

I would rather prefer to use `echo` here - safer and possibly even faster.