Updated to make the MeasurementPeriod a variable, not part of the knowledgebase.