added a modified script from VRM06 for animation