if (substr($config['storageRoot'], -1) != "/") {
                $config['storageRoot'] .= "/"; 
            }