use env variable whenever possible