set proper environment for supervisor subprocesses