 			WeaveAPI.globalHashMap.setNameOrder(names);
 			lcs.groupedCallback.value = false;
 			lcs.script.value = "if (typeof ExportMenu != 'undefined') {\n" +
-				"\tExportMenu.disableScripts();\n" +
+				"\tExportMenu.disableScripts(" + Compiler.stringify(exportUrl) + ");\n" +
 				"\tExportMenu.export();\n" +
 				"\tSessionStateEditor.openDefaultEditor();\n" +
 				"}";

package weave.menus
{
	import weave.Weave;
	import weave.core.LinkableCallbackScript;
	import weave.core.LinkableFunction;
	import weave.visualization.tools.ExternalTool;

			);
		}
		
		public static var url:String = "/weave-html5/";
		
		public static function export():void
		{
			if (lastHtml5WindowName)
