Fix bug in color scale in script.