fixed messungsskript for real this time