set a global variable holding reference to the gif program