added null check for player
removed settigns script