String replace on name now sorted and custom messages implemented