adapt player model to be functionnal with standalone script