added resetPlayer(playerObject) script among other things