propogating environment into subprocess