sign the whole ScriptInput