Update to new python and hdr