Oops: forgot to remove references to ScriptApplication