To set up the Animation script, follow these steps:
animation.pl
chmod 755 animation.pl
$image_dir
$delay