Added ability to repeat custom animations... and chicken.