    public function footer()
    {
        $my_server = ClassRegistry::init('Server');
        $cmd = $my_server->getPythonVersion() . ' ' . $this->__scripts_dir . $this->__script_name;
        if (!empty($this->__auth)) {
            $this->__request_object['auth'] = $this->__auth;
        }
        if ($this->__search){
            return $this->__search_query($cmd);
        }
        return $this->__delete ? $this->__delete_query($cmd) : $this->__add_query($cmd);
    }