Multiinput support in Script 2