scripts for PWRD