More window size adjustmrent scripting.