added listeners to ScoreScript