added delta calculation scripts