resize script