 
     func testRunningScript() throws {
         let script = "import Files\n\n" +
-                     "try FileSystem().createFolder(at: \"\(folder.path)addedFromScript\")"
+        "try Folder(path: \(folder.path)).createSubfolder(at: \"addedFromScript\")"
         let scriptFile = try folder.createFile(named: "script.swift")
         try scriptFile.write(string: script)
 

        try run(with: ["add", "https://github.com/JohnSundell/Files.git"])

        script += "import Files\n\n" +
                  "try FileSystem().createFolder(at: filePath)"
        try scriptFile.write(string: script)
        try run(with: ["run", scriptFile.path])
    }

        try run(with: ["add", "https://github.com/JohnSundell/Files.git"])

        let script = "import Files\n\n" +
                     "print(Folder.current)"

        let scriptFile = try folder.createFile(named: "script.swift")
        try scriptFile.write(string: script)
