     }
 
     private func registerLoadSubscriptMethod() {
-        let loadSubscript: @convention(block) String -> () = { subscriptName in
+        let loadSubscript: @convention(block) (String) -> () = { subscriptName in
+            print("Load: \(subscriptName)")
             self.loadJavascriptSource("/modules\(subscriptName)")
         }
         context.setObject(unsafeBitCast(loadSubscript, AnyObject.self), forKeyedSubscript: "loadSubScript")

        let (sourceName, directory) = getSourceMetaData(sourcePath)
        if let path = NSBundle.mainBundle().pathForResource(sourceName, ofType: "js", inDirectory: directory), script = try? NSString(contentsOfFile: path, encoding: NSUTF8StringEncoding) as String {
            context.evaluateScript(script);
        }
    }
    

        
        // load config file
        loadConfigFile()

        // create legacy CliqzUtils global
         context.evaluateScript("var CliqzUtils = {}; System.import(\"core/utils\").then(function(mod) { CliqzUtils = mod.default; });")
