add pdo to reg script