adding a replace command