add measurement script