Bug fix.

Did not pass environment argument correctly to internal processes.