Env var WIP.
Fix publish hooks for mongo, postgres; remove unnecessary hooks; fix python, php manifests.