Added gif control