move some image logic to score parser