refactor animation script