Added option to disable GIFs. Not 100% reliable.