Mitch's public CPDN scripts