Fix #295 by adding getEnvVar(name)