Animation script.