                                                                    options: [],
                                                                    format: nil) as! Dictionary<String,AnyObject>
             if plist.count > 0 {
-                playlists = plist[UserSettings.Playlists.keyPath] as! Dictionary<String, Any>
-                settings = plist[UserSettings.PlayPrefs.keyPath] as! Settings
+                playlists = plist[UserSettings.Playlists.default] as! Dictionary<String, Any>
+                settings = plist[UserSettings.PlayPrefs.default] as! Settings
                 break
             }
 

                }
                temp.append([k.name:key as AnyObject, k.list:list as AnyObject])
            }
            UserDefaults.standard.set(temp, forKey: UserSettings.Playlists.keyPath)
            UserDefaults.standard.synchronize()
            break
            
        case "h2w":
            let dict = NSDictionary.init()
            dict.setValue(playlists, forKey: UserSettings.Playlists.keyPath)
            dict.setValue(settings, forKey: UserSettings.PlayPrefs.keyPath)
            dict.write(to: url, atomically: true)
            break
            

            break

        case "h2w":
            // MARK: TODO write playlist and histories with default keys but also save current value
            let data = try Data.init(contentsOf: url)
            do {
                try! self.read(from: data, ofType: typeName)
