moved import h5py one line down