Added a useful script which helps logging data