Change to directly access Excel inputs, see script header