Replace parseConf with getEnv. #5