changed interpretation of window.cfg