purge old exportGif code