Added integer input script decoder/encoder