adding a gif header