Replace flag images to sprites