search-replace.pl modifcations [MRB]