APM Troubleshooting Part 2 Setting Environment Variables