fix in pset
fixes to pset and script used for occupancy study