a new script analysing the effect of window size.