Add ScriptOptions support