added writebytes and readbytes to bytengine client and shell script