code: public static Map<String, String> getScriptVars(String scriptName) {
  		return Collections.unmodifiableMap(scriptVars.getOrDefault(scriptName, Collections.emptyMap()));
  	}
docs: Gets an unmodifiable map, variable key to value, containing the variables of the script with the given name.
  <p>
  Iterations should be done in a synchronised block using the returned map.
  
  @param scriptName the name of the script.
  @return an unmodifiable map containing the script variables, never {@code null}.
  @since TODO add version