    private function __add_query($cmd)
    {
        unset($this->__default_filters['returnFormat']);
        $body = json_encode($this->__default_filters);
        $bodyFilename = $this->__generateSetupFile($body);
        $bodyParam = ' --body ' . $bodyFilename;
        $levelParam = ' --level ' . strtolower($this->__scope) . 's';
        $setup = json_encode($this->__setup);
        $setupFilename = $this->__generateSetupFile($setup);
        $setupParam = ' --setup ' . $setupFilename;
        $urlParam = ' --misp_url ' . $this->__url;
        $cmd .= $bodyParam . $setupParam . $levelParam . $urlParam;
        $results = shell_exec($cmd);
        unlink($bodyFilename);
        unlink($setupFilename);
        return $results;
    }