Copy of run-plp for testing/exploring.