fixed the color thief script