removed executeCommand because contexts will be different