getScriptInfo now redone