Remove assertions. Add ScriptNode class.
Clean up input_tasks usage of processed()