A simple script to simulate animations