List<INode> expandedScript = new Vector<INode>();
for (INode node : script)
{
if (node instanceof AScriptInclude)
{
ScriptParserWrapper parser = new ScriptParserWrapper();
File file = new File(scriptFile.getParentFile(), ((AScriptInclude) node).getFilename().replace('\"', ' ').trim());
List<INode> subScript = parser.parse(file);
expandedScript.addAll(expandScript(subScript, file,used));
} else
{
expandedScript.add(node);
}