moved player script load location to fix player null bug