minor changes to player script