Update PBS scripts and examples from Carl.

~~DO NOT merge. I need to wait for access to the examples repo first.~~

This updates the PBS scripts and examples as written by @carltape.