adding function to score to get image and fixing a font bug