PMD script updated