This is the script to use on a Raspberry PI
Version 1.5.1.12  - Added retry on logging error