Added IA_PD and IAPREFIX options plus other edits.