Made a few changes to HDF activities