remove comment, add style to image output