Change envVar to static