put back some necessary variables in check_updates.py