public function setConfig($path){
        if (file_exists($path) && is_readable($path)){
            include($path);
            $this->config = $path;
            $this->setLogPath($logpath);
            if (isset($AMAZON_SERVICE_URL)) {
                $this->urlbase = rtrim($AMAZON_SERVICE_URL, '/') . '/';
            }
        } else {
            throw new Exception("Config file does not exist or cannot be read! ($path)");
        }
    }