Ppad fixes

The ppadd command is in a broken state. It should be working again with these changes.