Move the "adding script" debug info into a more accurate place
Add packing debug information