Update helper script to read hdf5