search-replace.pl modification [MRB]