A Portable Script File that has been unpacked to a folder, can be easily repacked into a Portable Script File by running the batch file which was automatically created in the folder. The batch file is named by appending "pack.bat" to the original Portable Script File name.
For example, the batch file created when unpacking whatday.psf is named "whatday.psf.pack.bat" as shown below.

Executing the batch file will create a new Portable Script File from the scripts in the folder using the settings of the original Portable Script File and will reflect any changes made to the scripts in the folder.

Unpacking and repacking facilitates the ability to "round-trip" the modification of a Portable Script File.
See Also