public void runScript(String scriptPath) throws FuzzyEngineException {
		int lineNumber = 0;
		
		try(BufferedReader br = new BufferedReader(new InputStreamReader(
				new BufferedInputStream(new FileInputStream(new File(scriptPath)))))) {
			while(true) {
				String line = br.readLine();
				lineNumber++;
				
				if(line == null) {
					break;
				}
				
				line = line.trim();
				
				if(line.isEmpty() || line.startsWith("#")) {
					continue;
				}
				
				if(!line.endsWith(";")) {
					throw new FuzzyEngineException("Illegal line ending!");
				}
				
				line = line.substring(0, line.length() - 1);
				
				IFuzzyCommand command = FuzzyCommandParser.parse(line);
				runCommand(command);
			}
		} catch(Exception ex) {
			throw new FuzzyEngineException(ex.getMessage() + " Line: " + lineNumber);
		}
	}