updated animations script