updated for animated square gif file