working on ScriptOutput class