resize scripts