added window size config option