Updated to new WorkPeriod version