replace command w/ a variable