Working directory and environment variables are now stored in job objects so that we can use them for debugging.