I love this tune too: there does seem to be a tendency in Scotland to play an E instead of a D towards the end of the final phrase of the tune: a wee bit of a clash if the 2 versions are played together! I learned it from Tommy's own website where it is, as in this video, definitely a D!