move around and rename pack directives