In the script for Pieter, sort the measurements and use profile.description instead of .id