Added logic for score and stars collected