Minor improvements to the PRC script.