Prepare to pack resources.