tweaks to animation script example