Fixed gif parse script