Updated scripts with bytearray