Script can resize windows