enable generating gif