set color through style, fix script indent