             return
         }
         
-        var root : String? = "~/Library/Application Support/Ergometer".stringByStandardizingPath
+        var root : String? = "~/Library/Application Support/Ergometer/state".stringByStandardizingPath
         var errors = [String]()
         var e : NSError?
         if !NSFileManager.defaultManager().createDirectoryAtPath(root!, withIntermediateDirectories: true, attributes: nil, error: &e) {

        return 1
    }
    
    func cost(a: Action) -> Int {
        switch a {
        case .Meta(let i):
            return meta(i)

        m.firstActed = nil
        updated = true
    }
}

@NSApplicationMain
