added setLives script