added some extra getEnvVar options