added scripts for publishing and added decoding and checksum verification