add measuring script