changes to show generated gif