if (substr($config['storageRoot'], -3) != $this->cameraObject->id . "/") {
               $config['storageRoot'] .= $this->cameraObject->id . "/"; 
            }