         let script = "import Foundation\n" +
                      "import Files\n" +
                      "import Wrap\n\n" +
-                     "FileSystem().homeFolder\n" +
+                     "Folder.home\n" +
                      "struct MyStruct {}\n" +
                      "try wrap(MyStruct()) as Data"
 

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

        let script = "import Files\n\n" +
                     "print(FileSystem().currentFolder.path)"

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


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

