pass environment variable on instantiation