Fix gif download in gif script