Added scale field, fixed height/color extraction.