Generating proper gif =3