Calling programs with environment variables