Updated PDHO script