Add an animation script.