updated player script to not hardcode default size