modify the exec_command for work OK.