player script updated