Changing is.numeric to is.double in check of SCALE_SCORE