Switch all shell_exec to exec.