Actually capture the value of get-current-profile