Add support for command line arguments when PT arg passing is broken.