recent changes to deploy_rpd.pl