Looks like I was missing some punctuation on my comment there sorry about that.  What I was trying to say was something like: Since users have to update the cmd file, I'd like to avoid potential env var collision by prefixing the New Relic specific ones with NEWRELIC_...

Great point about IsWorkerRole - it should definitely be changed. EMULATED on the other hand it is fairly esoteric and a common approach to checking if you're using the Azure Cloud Services emulator - not sure if it needs to be prefixed like the others.