big api change to support scripting langauge lookups