Add server-side scripts for PDI automation