T130 generate process conf

Fresh pull request for T130. See comments in old pull request #153.

Fixes #130, fixes #133, fixes #135, fixes #149