Using "sed" instead of "tr" + minor corrections.

Minor "bug" because of nature how "tr" linux command is doing its magic - "sed" linux command is more appropriate tool for the job of renaming words and not sets.