Added animation loop on server