replace required strings