clean up player script