Fixed scripting so that when compairng to old data you compare apples to apples