make spawned processes inherit parent environment
remove debug logging
Merge pull request #1 from ajitgeorge/fix-env

make spawned processes inherit parent environment