boolean loadScript(String filename, String script) {
		this.filename = filename;
		this.script = script;
		if (!compiler.compile(filename, script, false)) {
			error = true;
			errorMessage = compiler.getErrorMessage();
			viewer.scriptStatus("script compiler ERROR: " + errorMessage);
			return false;
		}
		pc = 0;
		aatoken = compiler.getAatokenCompiled();
		linenumbers = compiler.getLineNumbers();
		lineIndices = compiler.getLineIndices();
		return true;
	}