Initial resize script