Added env var querying for default and bool