Occupancy Inferencing code/scripts