changing the input2 out of script