scripts for PDN measurements