Fixed bug where download would not work if config.py could not find cookies.