Very nice Tonypa. I've been playing around with some of this too. One suggestion, before you convert your byte array to a hex string, you should compress it using the compress() command and then use uncompress() right before you pass the byte array to the loader. This will cut the output size a great deal as zlib is pretty effective.