Update the build script to preserve the root folder upon packing