replace command with executor