Pack script modifications