Fix bug in tuning scripts which prints long beta