Updated the sample to use the newer animation format.