adding 'measure' script now. (missing from last commit)