fixes to pset and script used for occupancy study