Just more polishing of frag/unfrag script