Restore needed global setting to sheets.py