Replaced use of eval() with direct reading from process.env[]