Add replace to output string