Begin to touch up scaling code.