Some small optisimations in the animation file