preparazione runCommand