hex file fixer script and simple non working file transfer