GIF_PROGRAM global variable

to_gif function program parameter is set to a global variable set in conf.py