Index: trunk/FACT++/src/InterpreterV8.cc
===================================================================
--- trunk/FACT++/src/InterpreterV8.cc	(revision 19581)
+++ trunk/FACT++/src/InterpreterV8.cc	(revision 19582)
@@ -750,5 +750,5 @@
     const auto f = path.is_absolute() ? path : boost::filesystem::path(fIncludePath)/path;
 
-    izstream fin(f.string().c_str());
+    izstream fin(*file);//f.string().c_str());
     if (!fin)
         return ThrowException(String::New(errno!=0?strerror(errno):"Insufficient memory for decompression"));
@@ -789,5 +789,5 @@
     const auto f = path.is_absolute() ? path : boost::filesystem::path(fIncludePath)/path;
 
-    izstream fin(f.string().c_str());
+    izstream fin(*file);//f.string().c_str());
     if (!fin)
         return ThrowException(String::New(errno!=0?strerror(errno):"Insufficient memory for decompression"));
@@ -2607,5 +2607,5 @@
                 "}"
                 ""
-                "val = typeof(val)=='object' ? JSON.stringify(val) : val.toString(base);"
+                "val = val==undefined || typeof(val)=='object' ? JSON.stringify(val) : val.toString(base);"
                 ""
                 "var sz = parseInt(p1); /* padding size */"
@@ -2813,6 +2813,4 @@
         else
         {
-            fIncludePath = boost::filesystem::path(filename).parent_path().string();
-
             // We call script->Run because it is the only way to
             // catch exceptions.
